﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace ShoppingList.DTO
{
    public class Category : Entity
    {
        private string name;

        public string Name
        {
            get { return name; }
            set
            {
                name = value;
                OnPropertyChanged("Name");
            }
        }

        public Category(int id, string name)
            : base()
        {
            this.id = id;
            this.name = name;
        }


    }
}
